#include "../Header/GameComponent.h"

using namespace std;

string GameComponent::getID()
{
	try
	{
		if(this == NULL) throw 1;
	}
	catch(int e)
	{
		cout << "Error: this \"GameObject\" doesn't exist... "<<endl;
	}
	return ID;
}
void GameComponent::setParent(GameObject * o)
{
	parent = o;
}